import $ from 'jquery';
let publishObjectPath: any = {};
const publicPath: string = process.env.NODE_ENV === 'production' ? './' : '/';
function getPathjSON() {
  $.ajax({
    url: publicPath + 'json/config.json',
    async: false,
    success(data: any) {
      publishObjectPath = data;
    },
  });
}
getPathjSON();
export { publishObjectPath };
